from flask import Flask
from .app01 import app1_obj
from .app02 import app2_obj

print("================ start =================")

app = Flask(__name__)
app.config.from_object("mysettings.Config")

# 注册蓝图
app.register_blueprint(app1_obj, url_prefix="/app1")
app.register_blueprint(app2_obj, url_prefix="/app2")